import api from './api.js';
const ALIYUNOSS = {
    //aliyun OSS config
    uploadImageUrl: `${api.imageCdn}`,
    //默认存在根目录，可根据需求改
    AccessKeySecret: 'nx3UAqMBDpmZfniDRoSAYqx3man8po',
    OSSAccessKeyId: 'LTAI5tRAUoL1KZcWdeM72D1o',
    AliOSSBucketName: 'keju123',
    timeout: 87600 //这个是上传文件时Policy的失效时间
};

/**
 * page
 */
const PAGEPATH = {
    home: '/pages/home/home',
    project: '/pages/project/project',
    anli: '/pages/anli/anli',
    login: '/pages/login/login',
    user: '/pages/user/user',
	detail:'/pages/detail/detail',
	anliDetail:'/pages/anliDetail/detail',
	editProject:'/pages/editProject/editProject'
};

/**
 * tabbar
 */
const TABBAR = {
    home: '/pages/home/home',
    user: '/pages/user/user'
};

/**
 * image
 */
const FILEURL = '/static/img';
const IMAGEPATH = {
    logo: `${FILEURL}/logo.png`,
};
module.exports = {
    getPage: PAGEPATH,
    getImage: IMAGEPATH,
    getTabbar: TABBAR,
    aliyunOSS: ALIYUNOSS
};
